package com.zt.ztyh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zt.ztyh.entity.User;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
* @author 卫相阳
* @description 针对表【ztyh_user】的数据库操作Service
* @createDate 2024-04-02 18:47:30
*/
@FeignClient(name = "ztyh-funds-login",path = "ztyh/login",contextId = "user")
public interface FeginUserService {

    @GetMapping("/userid/{id}")
    @Schema(description = "用户id查询")
    public User userid(@PathVariable("id")Long id);
}
